package homework.h04;

/**
 * @author thinkpad - 83start
 * @version v1.0
 * @create 2022/9/23 11:23
 * @package homework
 * @description 文件说明
 */

public class Java2_2{
    static int i=10;

    public static void main(String args[]){
        int k=10;
        {

            System.out.println("i="+i);
            System.out.println("k="+k);
        }
        System.out.println("i="+i);
        System.out.println("k="+k);
        //编译时将出错，已出k的使用范围
    }
}

